<?
class Home extends CI_Controller {
	function __construct()
	{
		parent::__construct();
		$this->load->helper('cookie');
		$this->load->library('encrypt');
	}
	function index()
	{
		$data['heading'] = 'Client Page';
		$data['member'] = '';

		if ( $this->encrypt->decode(get_cookie('m_name')) == get_cookie('mName') )
		{
			$data['member'] = get_cookie('mName');
		}

		$this->load->view('homeview', $data);
	}
}
?>